.. _`Fit`: .. _`org.sysess.sympathy.machinelearning.fit`: Fit ``` .. image:: fit.svg :width: 48 Trains a model. Use "Create Input Port > Y" for supervised training Definition :::::::::: Input ports ........... **in-model** model Input model **X** table X **Y0** 0 - 1, table Y **sample_weights** 0 - 1, table sample_weights Output ports ............ **out-model** model Output model Implementation .............. .. automodule:: node_application :noindex: .. class:: Fit :noindex: